package com.njtoyo.taxi.admin.mapper.master.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 司机推广奖励流水
 * </p>
 *
 * @author Dell
 * @since 2022-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DriverRecommendTaskCompletion对象", description="司机推广奖励流水")
public class DriverRecommendTaskCompletion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "司机Id")
    private Long driverId;

    @ApiModelProperty(value = "乘客Id")
    private Long customerId;

    @ApiModelProperty(value = "司机推广奖励Id")
    private Long driverMarketingId;

    @ApiModelProperty(value = "乘客是否激活")
    private Boolean isCustomerActive;

    @ApiModelProperty(value = "乘客激活后可获得的金额")
    private BigDecimal customerActiveAmount;

    @ApiModelProperty(value = "乘客是否是首单")
    private Boolean isCustomerFirstOrder;

    @ApiModelProperty(value = "乘客首单支付后可获得的金额")
    private BigDecimal customerFirstOrderAmount;

    @ApiModelProperty(value = "金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;


}
